//
// Created by chaseaishang on 23-5-14.
//

#pragma once
#include "GameObject.h"
#include "BallObject.h"
namespace G_utils
{


enum Direction {
    UP,
    RIGHT,
    DOWN,
    LEFT
};


bool CheckCollision(GameObject &one, GameObject &two); // AABB - AABB collision
Direction VectorDirection(glm::vec2 target);

typedef std::tuple<bool, Direction, glm::vec2> Collision;
Collision CheckCollision(BallObject &one, GameObject &two) ;
}
